package spring.aspectj.c01;

/**
 *   Service类B
 */
public class BServiceImpl implements BService{

    public String barB(String _msg, int _type) {
        System.out.println("BServiceImpl.barB(msg:"+_msg+" type:"+_type+")");
//        if(_type == 1)
//            throw new IllegalArgumentException("测试异常");
        return "barB";
    }

//    public void fooB() {
//        System.out.println("BServiceImpl.fooB()");
//    }

}